<ui:composition template="/WEB-INF/templates/main-template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

	<ui:define name="sidebar">
		<ui:include src="/WEB-INF/templates/public-sidebar.xhtml" />
	</ui:define>
	<ui:define name="content">
		
	<h:form>
	<p:panel header="Letter of Authorization">   	
	   <h:panelGrid style = "width : 100%" id ="printArea">
		  <h:panelGrid style="margin: 0 auto; width: 100%; text-align: left;" columns="1">
				<h:panelGroup style="height: 34px;">
					<p:graphicImage value="../../resources/styles/images/logo.png"></p:graphicImage>
				</h:panelGroup>

				<h:panelGrid style = "width:100%">
					<h:panelGroup style="text-align:center;">
						<h:outputText value="ERPandERP India Pvt Ltd."
							styleClass="outputTextTitle" />
					</h:panelGroup>
		
		
		</h:panelGrid>
	<br/>
	<h:panelGrid >
	<h:panelGrid>
 <h:outputText value="For Office Use" styleClass="outputTextSubTitle" />
				<h:panelGrid columns="3" style="text-align:left;" styleClass="grid" columnClasses="formLabelCell, formInputCell,lable,value" cellpadding="2" cellspacing="5">
	
	<h:outputText value="Date of Joining" style="font-size:12px; margin-right:235px;"/>  
		 <h:outputText value=":" />   
		 <p:calendar value = "#{eformViewBean.newJoinee.dateOfJoining}" pattern="dd-MMM-yyyy"/>
	<h:outputText value="Employee Number Alloted" />     
			 <h:outputText value=":" />   
			 <h:inputHidden value="" /> 
	
	<h:outputText value="Email id" />     
				 <h:outputText value=":" />   
				 <h:inputHidden value="" />
	</h:panelGrid>
	</h:panelGrid>
	<br/>
	
<h:panelGrid>
	<h:inputHidden value="" />
 <h:outputText value="Appointment Letter issues:" styleClass="outputTex" /><br/>
  <h:outputText value="Assets handover:" styleClass="outputTextSubTitle" />
 
	<h:panelGrid columns="4" style="text-align:left; " styleClass="grid" columnClasses="gridCellMiddleLeftAligned formInputCell,lable,value" cellpadding="4" cellspacing="5">
				
				
	<h:outputText value= "1)" />   
	  <h:outputText value="Laptop,Mobile No" style=" margin-right:150px;" />
			 <h:outputText value=":" />   
			 <h:inputHidden value="" /> 
	
	<h:outputText value="2) " />  
	<h:outputText value="Mobile Phone Model No" />   
				 <h:outputText value=":" />   
				 <h:inputHidden value="" />
	<h:outputText value="3) " /> 
	<h:outputText value="Cell No:" />    
			 <h:outputText value=":" />   
			 <h:inputHidden value="" /> 
	 <h:outputText value="4) " />   
	 <h:outputText value="Other Assets like I card etc" />  
			 <h:outputText value=":" />   
			 <h:inputHidden value="" /> 
	
	</h:panelGrid>
	
	</h:panelGrid>
	
	
	<h:panelGrid>
	<h:inputHidden value="" />
  <h:outputText value="Documents Received:" styleClass="outputTextSubTitle" />
   <h:outputText value="List of Documents:" styleClass="outputTex" />
  
 
	<h:panelGrid columns="4" style="text-align:left;"  columnClasses="gridCellMiddleLeftAligned formInputCell,lable,value" cellpadding="4" cellspacing="5">
				
				
	<h:outputText value= "1) "/>
	<h:outputText value="Educational certificate No.of Certificates:" />     
			 <h:outputText value=":" />   
			 <h:inputHidden value="" />  
			 
   <h:outputText value= "2) "/>
   <h:outputText value="Pass port or Address proof:" />     
			 <h:outputText value=":" />   
			 <h:inputHidden value="" />
			 
  <h:outputText value= "3) "/>  
  <h:outputText value="Driving license No:" />   
			 <h:outputText value=":" />   
			    <p:inputText value="#{eformViewBean.passportAndPANDetails.drivinglicenseNumber}"/>
			 
  <h:outputText value= "4) "/>  
     <h:outputText value="Driving licence Valid upto:" />
			 <h:outputText value=":" />   
			 <p:inputText value="#{eformViewBean.passportAndPANDetails.drivinglicenseValidity}"/>
			 
  <h:outputText value= "5) "/> 
  <h:outputText value="PAN No:" />    
			 <h:outputText value=":" />   
			 <p:inputText value="#{eformViewBean.passportAndPANDetails.PANNumber}"/>
			 
  <h:outputText value= "6) "/> 
  <h:outputText value="One color photo to be enclosed " />    
			 <h:outputText value="" />   
			 <h:inputHidden value="" /> 
			 
			 		 
  <h:outputText value= " "/> 
  <h:outputText value=" and 1 to be pasted on form on first page" />    
			 <h:outputText value=":" />   
			 <h:inputHidden value="" /> 
			 
			 
  <h:outputText value= "7) "/> 
  <h:outputText value="Any other documents:" />    
			 <h:outputText value=":" />   
			
			
			 	 <p:fileUpload fileUploadListener="#{fileUploadController.handleFileUpload}"  
            mode="advanced"   
            update="messages"  
             
            />  
  
    <p:growl id="messages" showDetail="true"/> 
			 
			 </h:panelGrid>	 
		</h:panelGrid>
	
	
	
	<h:panelGrid>
	<br/>
	Checked by HR  
	<br/>

    <br/>
	<br/> 
	
	 Approved by
	<br/>
	<br/>
	Please any other details which you may require considering the company business
	</h:panelGrid>
	</h:panelGrid>
		</h:panelGrid>
		
     </h:panelGrid>
   </p:panel>
   <h:panelGroup>
	   <p:commandButton value="Print" type="button"  icon="ui-icon-print">
	      <p:printer target="printArea"></p:printer>
	   </p:commandButton>
	   <p:commandButton value = "Back"  onclick="history.go(-1);"/>          
   </h:panelGroup>
   
		</h:form>

		</ui:define>
	</ui:composition>